﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace AKMII.DMRA.Common
{
    [ServiceContract]
    public interface ICommonService
    {
        [OperationContract]
        string GetData(int value);

        [OperationContract(IsOneWay = true)]
        void SendReport(string account, int month, int year);

        [OperationContract(IsOneWay = true)]
        void SendMail(Mail mail);

        [OperationContract(IsOneWay = true)]
        void SendHistoryReport(string account, int month, int year, int type);
    }

    //[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    //public interface ICommonServiceChannel : ICommonService, System.ServiceModel.IClientChannel
    //{
    //}
}
